<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>实物奖品</title>
    <#include "/view/admin/headList.html"/>
    <style>
        .table-bordered{
            /*width:100%;*/
            text-align: center;
            margin:0;
        }
        .table-bordered th {
            /*width: 20%;*/
            background-color: #d9edf7;
            text-align: right;
        }

        .table-bordered td {
            /*width: 20%;*/
            text-align: left;
        }
        .table-list th{
            text-align: center;
        }
        .table-list td{
            text-align: center;
        }
    </style>
</head>
<body>
<hr/>





<table class="table table-hover table-bordered table-list" >
    <thead>

    <tr class="table-head">
        <th width="30px;">序号</th>
        <th class="label-hidden">分配奖品id</th>
        <th>优惠活动类型</th>
        <th>优惠活动名称</th>
        <th>奖品库奖品</th>
        <!--<th>奖品库奖品数量</th>-->
        <th>数量</th>
        <th>已中奖数量</th>
        <!--<th>可分配数量</th>-->
        <th>创建时间</th>
       <#-- <th>使用状态</th>-->
    </tr>
    </thead>
    <tbody>
    <#list pagination.list as c>
        <tr>
            <td>${(pagination.pageNo-1)*pagination.pageSize+1+c_index}</td>
            <td class="label-hidden"><input type="hidden" name="awardonId" value="${c.awardonId!}"/></td>
            <td>
                <#if c.actType??&&c.actType=1>轮盘</#if>
                <#if c.actType??&&c.actType=2>扫码领取</#if>
            </td>
            <td>${c.actname!}</td>
            <td>${c.thingName!}</td>

            <td>${c.count?default(0)}</td>
            <td>${c.ext3?default(0)}</td>
            <!--<td>${c.shengyu?default(0)}</td>-->

            <td><#if c.createtime??>${c.createtime?string('yyyy-MM-dd HH:mm:ss')}</#if></td>
          <#--  <td>
                <#if c.delFlag??&&c.delFlag=0><span class="label label-success">已使用</span></#if>
                <#if c.delFlag??&&c.delFlag=1><span class="label label-danger">已删除</span></#if>
            </td>-->
        </tr>


    </#list>
    </tbody>
</table>



</div>
<script>

    function queryCondition(){
        var href = "id="+$('#awardonId').val();

        return href;
    }

</script>

</body>
</html>